package com.stenio.fancat.domain.baby;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.stenio.fancat.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("fc_baby_partner")
public class BabyPartner extends BaseEntity {

    /** 序列化ID */
    private static final long serialVersionUID = -4037718125886326360L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("baby_id")
    private String babyId;
    @TableField("associated_baby_id")
    private String associatedBabyId;
    @TableField("state")
    private Integer state;
}
